package com.yiduo.outpost.core.model.enums;

import com.baomidou.mybatisplus.annotation.IEnum;

/**
 * @Author yanwen
 * @create 2023/8/16 11:34
 */
public enum UserStatus implements IEnum<Integer> {
    ENABLE(1, "开启"),
    DISABLE(0, "禁用");

    private int value;
    private String desc;

    UserStatus (int value,String desc){
        this.value = value;
        this.desc = desc;
    }

    @Override
    public Integer getValue() {
        return this.value;
    }
}
